<template>
  <div class="hello" id="app5">
    <p>{{message}}</p>
    <el-Button v-on:click="reverseMessage">点击反转</el-Button>
  </div>
</template>
<script>
  export default {
    name: 'hello',
    data () {
      return {
        message: 'Hello reseverMsg'
      }
    },
    methods: {
      reverseMessage: function () {
        this.message = this.message.split('').reverse().join('')
      }
    }
  }
</script>
